//
//  LocationService.h
//  YRSideViewController
//
//  Created by xiabin on 14/12/30.
//  Copyright (c) 2014年 YueRuo. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <CoreLocation/CoreLocation.h>
#import "JobDelegate.h"

#define QGLocationService [LocationService sharedInstance]

@interface LocationService : NSObject<CLLocationManagerDelegate, UMAsyncJobDelegate>
{
    CLLocationManager *locationManager;
    NSMutableArray* requiredDelegateArr;
}

+(LocationService*)sharedInstance;
-(void) initService;
-(int) getCurrentLocation: (id<UMAsyncJobDelegate>)JobDelegate;

@property (nonatomic, assign) double longtitude;
@property (nonatomic, assign) double latitude;
@property (nonatomic, retain) NSString* cityName;

@end

